<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>28.底层方法</title>
  <script type="text/javascript" src="../layui-v2.7.6/layui/layui.js"></script>
  <script type="text/javascript" src="../layui-v2.7.6/layui/jquery-1.10.1.js"></script>
  <link rel="stylesheet" href="../layui-v2.7.6/layui/css/layui.css">
</head>
<body>
<script>
    layui.config({
        base: '28.testjs/'
    });
    layui.extend({
        test42:'test11'
    });
    layui.use(['test42'],function () {
        var tester = layui.test42;
        tester.method1(4343)
    })
</script>
</body>
</html>